projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5436f7
)
xmlgeneric: Fix order of 'str_match' parameters.
author
oliskoli
<oliskoli>
Fri, 29 Jun 2007 20:55:25 +0000
(20:55 +0000)
committer
oliskoli
<oliskoli>
Fri, 29 Jun 2007 20:55:25 +0000
(20:55 +0000)
xmlgeneric.c
patch
|
blob
|
history
diff --git
a/xmlgeneric.c
b/xmlgeneric.c
index 74ea8f1924e14497e427003152ee1a068251af75..d83faceb2de4d94829b796c9ec95ba511b006d26 100644
(file)
--- a/
xmlgeneric.c
+++ b/
xmlgeneric.c
@@
-160,7
+160,7
@@
xml_tbl_lookup(const char *tag, xg_cb_type cb_type)
{
xg_tag_mapping *tm;
for (tm = xg_tag_tbl; tm->tag_cb != NULL; tm++) {
- if (str_match(t
m->tag_name, tag
) && (cb_type == tm->cb_type)) {
+ if (str_match(t
ag, tm->tag_name
) && (cb_type == tm->cb_type)) {
return tm->tag_cb;
}
}